package publicPackage.human;

/**
 * Created by Heart!
 *
 * @Author ZhangChaoJian
 * @Date $DATE-16:35
 * Wants More Then Try Hard More!
 */

import publicPackage.item.Items;

import java.io.Serializable;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * 玩家背包信息
 */
public class Bag implements Serializable {
    private long gold;//玩家金币
    private int gameGold;//玩家元宝数量
    private Map<Integer, Items> roleBag = new ConcurrentHashMap<>();//玩家背包数据
    private Map<Integer, Items> storage = new ConcurrentHashMap<>();//玩家仓库信息

    public long getGold() {
        return gold;
    }

    public void setGold(long gold) {
        this.gold = gold;
    }

    public int getGameGold() {
        return gameGold;
    }

    public void setGameGold(int gameGold) {
        this.gameGold = gameGold;
    }

    public Map<Integer, Items> getRoleBag() {
        return roleBag;
    }

    public void setRoleBag(Map<Integer, Items> roleBag) {
        this.roleBag = roleBag;
    }

    public Map<Integer, Items> getStorage() {
        return storage;
    }

    public void setStorage(Map<Integer, Items> storage) {
        this.storage = storage;
    }
}
